package com.wlps.contant;

/**
 * <p>
 * redis缓存key常量类
 * </p>
 *
 * @author ZWYZY
 * @since 2020/6/14
 */
public class Contant {
    /**
     * 用户登录 key
     */
    public final static String USERDETAILS_KEY = "userDetails_";
    /**
     * token  key
     */
    public final static String TOKEN_KEY = "token_";

    /**
     * token id key   异地登录场景判断
     */
    public final static String TOKEN_ID_KEY = "token_id_";

    /**
     * 所有入库单 key
     */
    public final static String PURCHASERECEIPTS_KEY = "purchaseReceipts";
    /**
     * 入库单列表 key
     */
    public final static String PURCHASERECEIPTLIST_KEY = "purchasereceiptlist";

    /**
     * 所有出库单 key
     */
    public final static String RETURNOUTOFSTOCKS_KEY = "returnOutOfStocks";

    /**
     * 出库单列表 key
     */
    public final static String RETURNOUTOFSTOCKLIST_KEY = "returnOutOfStocklist";

    /**
     * 所有供应商 key
     */
    public final static String SUPPLIERS_KEY = "suppliers";

    /**
     * 供应商列表
     */
    public final static String SUPPLIERLIST_KEY = "supplierlist";

    /**
     * 所有库房 key
     */
    public final static String WAREHOUSES_KEY = "warehouses";
    /**
     * 库房列表 key
     */
    public final static String WAREHOUSELIST_KEY = "warehouselist";

    /**
     * 所有出入单 key
     */
    public final static String INOUTVOS_KEY = "inoutvos";

    /**
     * 所有库房商品 key
     */
    public final static String COMMODITYWAREHOUSES_KEY = "commoditywarehouses";

    /**
     * 库房商品列表 key
     */
    public final static String COMMODITYWAREHOUSELIST_KEY = "commoditywarehouselist";

    /**
     * 所有商品库房储备设置 key
     */
    public final static String WAREHOUSESETTINGVOS_KEY = "warehousesettingvos";

    /**
     * 所有需出库商品 key
     */
    public final static String COMMODITYANDWAREHOUSEVOSOUT_KEY = "commodityandwarehousevosout";

    /**
     * 需出库商品列表 key
     */
    public final static String COMMODITYANDWAREHOUSEVOOUTLIST_KEY = "commodityandwarehousevooutlist";
    /**
     * 所有需入库商品 key
     */
    public final static String COMMODITYANDWAREHOUSEVOSIN_KEY = "commodityandwarehousevosin";

    /**
     * 需入库商品列表 key
     */
    public final static String COMMODITYANDWAREHOUSEVOINLIST_KEY = "commodityandwarehousevoinlist";
    /**
     * 所有商品 key
     */
    public final static String COMMODITYS_KEY = "commoditys";

    /**
     * 商品列表 key
     */
    public final static String COMMODITYLIST_KEY = "commoditylist";

    /**
     * 所有一级分类 key
     */
    public final static String FIRSTCLASSIFICATIONVOS_KEY = "firstclassificationvos";

    /**
     * 所有任务单(非退货任务单)
     */
    public final static String MISSIONLISTVOS_KEY = "missionlistvos";

    /**
     * 所有退货任务单
     */
    public final static String WAREHOUSEDVOS_KEY = "warehousedvos";

    /**
     * 所有用户列表 key
     */
    public final static String USERS_KEY = "users";

    /**
     * 所有角色列表 key
     */
    public final static String ROLES_KEY="roles";

    public final static String ONLINEUSER_KEY="onlineusers";

    /**
     * 所有权限表 key
     */
    public final static String PERMISSIONS_KEY="permissions_";

    /**
     * 角色的所有权限
     */
    public final static String ROLEPERMISSION_KEY="role_permission_";

}
